package com.example.SMS;

import javafx.scene.Scene;
import javafx.stage.Stage;

public class OncampusViewController {
    private Stage stage;
    private Scene oncampusScene;
    public void setStage(Stage stage) {
        // 设置主界面的 Stage
        this.stage=stage;
    }
    public void setMainScene(Scene mainScene) {
        // 设置主界面的 Scene
        this.stage.setScene(mainScene);
    }

    public void setOncampusScene(Scene scene) {
        this.oncampusScene = oncampusScene;
    }
}
